<input data-date-format="yyyy-mm-dd" class="form-control input-date" type="text" name="flow_field_{$id}" id="flow_field_{$id}" value="{$val}" <notempty name="validate">check="{$validate}" msg="{$msg}"</notempty>  >